//封装具体的接口请求
import axios from "axios";
const getWuhanBuildings = () => {
  return axios.get("http://localhost:3001/Wuhan_Building");
};
const getWuhanRoad = () => {
  return axios.get("http://localhost:3001/Wuhan_roads");
};
const getWuhanEvents = () => {
  return axios.get("http://localhost:3001/Wuhan_events");
};
const getWuhanBridge = () => {
  return axios.get("http://localhost:3001/Wuhan_bridge");
};
export { getWuhanBuildings, getWuhanRoad, getWuhanEvents, getWuhanBridge };
